import { FormSchema } from '/@/components/Table';
// import { useMessage } from '/@/hooks/web/useMessage';
// import { h, reactive } from 'vue';
import sbzl2 from '/@/assets/images/visual-list/sbzl2.png';
import haccp from '/@/assets/images/visual-list/haccp.png';
import AOA from '/@/assets/images/visual-list/AOA.png';
import AOA2 from '/@/assets/images/visual-list/AOA2.png';
import sbzl from '/@/assets/images/visual-list/sbzl.png';
import haccp2 from '/@/assets/images/visual-list/haccp2.png';
import jqpq from '/@/assets/images/visual-list/jqpq.png';
import jqpq2 from '/@/assets/images/visual-list/jqpq2.png';

export interface DataSourceItem {
  src: string;
  title?: string;
  description?: string;
}

// 搜索栏
export const searchFormSchema: FormSchema[] = [
  {
    field: 'title',
    label: '标题',
    component: 'Input',
    colProps: { span: 6 },
  },
  // {
  //   field: 'kinds',
  //   label: '分类',
  //   component: 'Select',
  //   colProps: { span: 6 },
  //   componentProps: {
  //     options: [
  //       { label: 'A类', value: '0' },
  //       { label: 'B类', value: '1' },
  //     ],
  //   },
  // },
];
// 栅格列表

export const dataSource: DataSourceItem[] = [
  {
    title: '智慧运营管控平台-生产总览',
    src: sbzl2,
    description: '智慧运营管控平台-生产总览',
  },
  {
    title: 'Haccp',
    src: haccp,
    description: 'Haccp',
  },
  {
    title: 'AOA-工艺概览1',
    src: AOA,
    description: 'AOA-工艺概览1',
  },
  {
    title: 'AOA-工艺概览2',
    src: AOA2,
    description: 'AOA-工艺概览2',
  },
  {
    title: '智慧运营管控平台-设备总览',
    src: sbzl,
    description: '智慧运营管控平台-设备总览',
  },
  {
    title: 'Haccp-总图',
    src: haccp2,
    description: 'Haccp-总图',
  },
  {
    title: '精确曝气1',
    src: jqpq,
    description: '精确曝气1',
  },
  {
    title: '精确曝气2',
    src: jqpq2,
    description: '精确曝气2',
  },
];
